package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdAddress;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 地址信息接口
 */
@Mapper
@Repository
public interface TdAddressMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TdAddress record);

    int insertSelective(TdAddress record);

    TdAddress selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdAddress record);

    int updateByPrimaryKey(TdAddress record);

    List<TdAddress> selectByUid(String uid);
}